package cn.fay.chapter04;

import java.util.Random;

public class Test2 {

	 
	public static void main(String[] args) {
		Random rand=new Random();
		int temp=rand.nextInt(100);
		for(int i=0;i<24;i++)
		{
			int x=rand.nextInt(100);
			if(x>temp)
				System.out.println(x+">"+temp);
			else if(x==temp){
				System.out.println(x+"="+temp);
			}
			else {
				System.out.println(x+"<"+temp);
			}
			temp=x;
		}
		
	}

}
